crPEGetNthParameterType

VB Sample Code for modifying parameter fields

The crPEGetNthParameterType function returns the type of value one of the parameter fields in the specified report is expecting.

Declare Function crPEGetNthParameterType Lib "crwrap32.dll" (ByVal printJob As Integer, ByVal parameterN As Integer) As Integer

Parameters

printJob

Specifies the handle of the print job that contains the parameter field about which you want to retrieve information.

parameterN

Specifies the data type of the parameter field. Constants defined for the available parameter types are given in the following table:

Constant Value


PE_PF_Number

0


PE_PF_Currency

1


PE_PF_Boolean

2


PE_PF_Date

3


PE_PF_String

4

Return Value

TRUE (1) if the call is successful; FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com